package com.liuyingxing.javaSpringCloudWeb.modules.account.service;

import com.liuyingxing.entity.account.User;
import com.liuyingxing.entity.common.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by IntelliJ IDEA.
 * @File UserService.java
 * @Auth liuxing
 * @Date 2021/8/22 10:36
 * @Email liuxing997@foxmail.com
 */
public interface UserService {

    Result<User> login(HttpServletRequest request, User user);

    Result<User> insertUser(HttpServletRequest request, User user);

    void logout(HttpServletRequest request);
}
